<template>
  <div class="home-content">
    <div style="text-align: center;width: 100%">
      <!--<a-row style="margin-top: 20px">
        <a-col :span="24">
          <img src="/wheelchair.png" style="width: 35%"/>
        </a-col>
        <a-col :span="12">
          <img src="/jie2.png" style="width: 200px;cursor: pointer;margin-top: 40px;margin-left: 54%" @click="showJie">
        </a-col>
        <a-col :span="12">
          <img src="/huan2.png" style="width: 200px;cursor: pointer;margin-top: 40px;margin-right: 54%" @click="showHuan">
        </a-col>
      </a-row>-->
      <img src="/pagemain.jpg"/>
    </div>
  </div>
</template>

<script>
import * as echarts from 'echarts'
import { STable, Ellipsis } from '@/components'
import { deleteAction, getAction, postAction } from '@/api/manage'

export default {
  name: 'Analysis',
  components: {
  },
  computed: {},
  data () {
    return {
      realTimeData: [],
      url: {
        getrealTimeDatalist: '/system/nurseTaskDetail/getrealTimeData',
      }
    }
  },
  mounted () {
  },
  methods: {
    showJie () {
      this.$refs.twm.edit()
    },
    showHuan () {
      this.$refs.wcm.edit()
    }
  }
}
</script>

<style lang="less" scoped>
.home-content {
  width: 100%;
  display: flex;
}

.home-title {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
}

.home-title::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #1890ff;
  border-radius: 50%;
  box-shadow: 0px 0px 5px 0px rgba(21, 92, 158, 0.6);
  margin-right: 8px;
}

.home-left {
  width: 73%;
}

.home-right {
  flex: 1;
  margin-left: 10px;
  border-radius: 10px;
}

.home-left-top {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
}

.home-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 10px;
}

.home-grid-item {
  padding: 13px 18px;
  color: white;
}

.home-grid-4 .home-grid-item {
  height: 130px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.home-grid-4 .home-grid-item:nth-child(1) {
  background-image: url(http://spdb.jkjn365.com.cn/image/default/B80286971DF2417CA821A68E4EA77CBE-6-2.png);
}

.home-grid-4 .home-grid-item:nth-child(2) {
  background-image: url(http://spdb.jkjn365.com.cn/image/default/531DA633B8124C88B8A81E6F2B549E42-6-2.png);
}

.home-grid-4 .home-grid-item:nth-child(3) {
  background-image: url(http://spdb.jkjn365.com.cn/image/default/9079303379DB4AFD9A0CC17EA9CDB5D3-6-2.png);
}

.home-grid-4 .home-grid-item:nth-child(4) {
  background-image: url(http://spdb.jkjn365.com.cn/image/default/6D6808E7C01C43CE92E788DE93586AA1-6-2.png);
}

.text-xs {
  font-size: 12px;
}

.text-xl {
  font-size: 28px;
  font-weight: bold;
}

.home-real-up {
  background-image: url(https://7169-qiqi-ikun-818038-1302497064.tcb.qcloud.la/other/ss.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-position: center;
  margin-left: 5px;
}

.home-real-down {
  background-image: url(https://7169-qiqi-ikun-818038-1302497064.tcb.qcloud.la/other/xj.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-position: center;
  margin-left: 5px;
}

.home-up {
  background-image: url(https://7169-qiqi-ikun-818038-1302497064.tcb.qcloud.la/other/wdss.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  width: 14px;
  height: 14px;
  background-position: center;
  margin-left: 5px;
}

.home-down {
  background-image: url(https://7169-qiqi-ikun-818038-1302497064.tcb.qcloud.la/other/wdxj.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  width: 14px;
  height: 14px;
  background-position: center;
  margin-left: 5px;
}

.home-line-box {
  min-height: 306px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.home-line-content {
  flex: 1;
}

.home-line-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.home-line-top-type {
  width: 144px;
  height: 25px;
  border-radius: 5px;
  border: 1px solid #ebeff5;
  display: flex;
  justify-content: space-between;
}

.home-line-top-type div {
  flex: 1;
  text-align: center;
  line-height: 25px;
  cursor: pointer;
}

.home-line-top-type div.select {
  color: #1890ff;
}

.home-line-top-type div:nth-child(2) {
  border-left: 1px solid #ebeff5;
  border-right: 1px solid #ebeff5;
}

.home-lne-top-legend {
  display: flex;
  align-items: center;
}

.home-legend-one {
  width: 18px;
  height: 12px;
  background-color: #3399ff;
  border-radius: 6px;
  margin-right: 10px;
}

.home-legend-two {
  width: 18px;
  height: 12px;
  background-color: #f7ab6a;
  border-radius: 6px;
  margin-right: 10px;
}

.home-legend-three {
  width: 18px;
  height: 12px;
  background-color: #f748d6;
  border-radius: 6px;
  margin-right: 10px;
}

.home-pie-content {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.home-pie-content-left {
  width: 45%;
}

.home-pie-content-right {
  flex: 1;
}

.home-pie-content-row {
  display: flex;
}

.home-pie-content-row.bold {
  font-weight: bold;
  padding-top: 15px;
}

.home-ranking-top {
  display: flex;
  justify-content: space-around;
  text-align: center;
  align-items: flex-end;
  padding-top: 10px;
}

.home-ranking-list {
  margin-top: 40px;
}

.home-ranking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;

}

.home-ranking-item-bubble {
  width: 21px;
  height: 21px;
  background-color: rgba(249, 173, 120, 0.15);
  border-radius: 50%;
  text-align: center;
  line-height: 21px;
  color: #F9AD78;
}

.home-ranking-item-line {
  border-top: 1px dashed #F9AD78;
  flex: 1;
  margin: 0 10px;
}
</style>
